
const circleFun = require('./circleModule');

const circle = circleFun(6);

const circumference = circle.circumference();
console.log('半径为 6 的圆形周长:', circumference);

const area = circle.area();
console.log('半径为 6 的圆形面积:', area);

const circle2 = circleFun(10);
console.log('半径为 9 的圆形周长:', circle2.circumference());
console.log('半径为 9 的圆形面积:', circle2.area());